package com.jk.mongodb;

import com.alibaba.fastjson.JSONObject;
import com.jk.entity.DummyOrder;
import com.jk.entity.Order;
import com.jk.entity.Shop;

import java.util.HashMap;
import java.util.List;

/**
 * @author 周慧茹
 * 创建时间 2018/4/16  17:36
 * 邮箱 960297232@qq.com
 */
public interface MongodbDao {

  DummyOrder querycookie(String cookiewy);

    void removeCookie(String cookiewy);

    Order queryshopCarbuuserid(String userid);

    void updateMap(String id, HashMap<String, HashMap<String, List<Shop>>> maps);

  DummyOrder queryDummyShoppingCar(String cookiewy);

  void updateDummyOrder(String id, HashMap<String, HashMap<String, List<Shop>>> maps1);

    HashMap<String, List<Shop>>  getShopCarbyUserid(String userid);

    HashMap<String, List<Shop>> getShopCarbyCookieid(String cookieid);
}
